//
//  ZBUtils.h
//  ZBCheckOutUtils
//
//  Created by Never on 2018/3/28.
//  Copyright © 2018年 Never. All rights reserved.
//  本工具用来校验输入信息的合法性

#import <Foundation/Foundation.h>

@interface ZBCheckOutUtils : NSObject
///昵称
+ (BOOL) validateNickname:(NSString *)nickname;

///姓名一般只允许包含中文或英文字母
+ (BOOL) isValidateName:(NSString *)name;

///用户名
+ (BOOL) validateUserName:(NSString *)name;

///密码
+ (BOOL) validatePassword:(NSString *)passWord;

///手机号码验证
+ (BOOL) validateMobile:(NSString *)mobile;

///11位手机号码
+ (BOOL) validPhoneNumber:(NSString *)mobile;

///邮箱
+ (BOOL) validateEmail:(NSString *)email;

///电话验证
+ (BOOL) validateTel:(NSString *)tel;

///数字
+ (BOOL) validateNumber:(NSString *)number;

///身份证验证
+ (BOOL)validateIDCardNumber:(NSString *)value;

///验证银行卡号
+ (BOOL) checkCardNo:(NSString*) cardNo;
@end
